package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.TravelCommend;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.TravelCommendQueryObject;
import com.github.pagehelper.PageInfo;

public interface ITravelCommendService {

    PageInfo<TravelCommend> queryForList(QueryObject qo);

    void saveOrUpdate(TravelCommend travelCommend);

    /**
     * 移动端定制的分页查询sql
     * @param qo
     * @return
     */
    PageInfo queryForAppList(TravelCommendQueryObject qo);
}
